const {
    Keypair,
    Transaction,
    SystemProgram,
    LAMPORTS_PER_SOL,
    TransactionMessage,
    TransactionInstruction
} = require("@solana/web3.js");
const config = require('./config');

const SolChain = require('./SolChain');
const {transactionMessage }= require('./utils');

const {
    getKeyPairUser1, getKeyPairUser2
} = require('./MyKeypair');

const run = async () => {
    let solChain = new SolChain(config.localNode);

    let txSigner = "yDiBqRiLXdk6GN8YcAD8pBNrQVNXWK5ekrP9aNaQsqjL4aVuLshvRkbgXmwxsM8iuf7qXCoTA3Jt9jJvuE3NutY"

    let tx = await solChain.getTransaction(txSigner);
    console.log('tx: ', tx);
}
run();